
#ifndef CPBITMASKSHAPE_H
#define CPBITMASKSHAPE_H

#include "bitmask.h"

// Bimask shape structure.
typedef struct cpBitmaskShape{
	cpShape shape;
	cpVect p;//prob inutile
	bitmask_t *mask;

	cpVect tVerts;
} cpBitmaskShape;

// Basic allocation functions.
cpBitmaskShape *cpBitmaskShapeAlloc(void);
cpBitmaskShape *cpBitmaskShapeInit(cpBitmaskShape *poly, cpBody *body, bitmask_t *bitmask, cpVect offset);
cpShape *cpBitmaskShapeNew(cpBody *body, bitmask_t *bitmask, cpVect offset);

#endif
